//
//  AllFavListModel.h
//  Rail
//
//  Created by huyuchen on 2018/3/21.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import "BaseModel.h"

@interface AllFavModel : NSObject
@property (nonatomic, assign) FavType fav_type;
@property (nonatomic, copy) NSString *favid;
@property (nonatomic, copy) NSString *lineid;
@property (nonatomic, copy) NSString *line_name;
@property (nonatomic, copy) NSString *line_color;
@property (nonatomic, assign) LineWorkingStatus line_status;
@property (nonatomic, copy) NSString *deviceid;
@property (nonatomic, copy) NSString *device_name;
@property (nonatomic, assign) DeviceStatus device_status;
@property (nonatomic, copy) NSString *device_logo_url;
@property (nonatomic, copy) NSString *areaid;
@property (nonatomic, assign) WorkAreaStatus area_status;
@property (nonatomic, copy) NSString *area_name;
@end

@interface AllFavListModel : BaseModel
@property (nonatomic, copy) NSString *dirid;
@property (nonatomic, copy) NSString *dir_name;
@property (nonatomic, strong) NSArray<AllFavModel *> *fav_list;

//额外属性
@property (nonatomic, assign) BOOL isExpand;
@end
